html,body{
	width: 100%;
	height: 100%;
}
body{
	margin: 0px;
	padding: 0px;
	background-color:#F66256;
	font-family: "Microsoft YaHei";
}
span,div,a {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.page,.hide {
	display: none;
}
.load {
	width: 100%;
	height: 100%;
	position: fixed;
	background-size: 100%;
	background-color: #e6736c;
}
.load_box {
	height: 20px;
	position: relative;
	top:42%;
	left: 50%;
	margin-left: -100px;
	width: 200px;
	background-color: #000;
	border-radius: 10px;
	padding-top: 1px;
	padding-left: 2px;
}
.load-inner {
	background-image: url(../images/load_block.png);
	background-position: -150px center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 18px;
	width: 196px;
	border-radius: 35px;
	animation: loadingshow 0.8s ease forwards;
	-webkit-animation: loadingshow 0.8s ease forwards;
}
@keyframes loadingshow {
	0% { background-position: -150px center; }
	30% { background-position: -100px center; }
	70% { background-position: -20px center; }
	100% { background-position: 0px center; }
}
@-webkit-keyframes loadingshow {
	0% { background-position: -150px center; }
	30% { background-position: -100px center; }
	70% { background-position: -20px center; }
	100% { background-position: 0px center; }
}
.load_block {
	width: 100px;
	height: 17px;
	position: absolute;
	top: 2px;
	left: 3px;
}
.load p {
	text-align: center;
	padding-top: 30px;
	color: #fff;
	width: 100%;
	position: absolute;
}
.logo {
	width: 40px;
	height: 60px;
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 999;
}

.logo img{
	width: 100%;
}
/*index*/
.index {
	background-image: url(../images/bg.png);
	background-size: 100%;
	position: fixed;
	width: 100%;
	height: 100%;
}
.index-sd {
	background-image: url(../images/indexbg.png);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100%;
	position: fixed;
	width: 100%;
	height: 100%;
}
.index-bottom {
	z-index: -1;
	position: absolute;
	bottom: 0;
	width: 100%;
	left: 0;
}
.index-bottom img {
	width: 100%;
	vertical-align: bottom;
}
.index-btn {
	position: absolute;
	bottom: 5%;
	text-align: center;
	width: 100%;
}
p {
	margin-top: 0;
	margin-bottom: 0;
}
.index-btn p + p {
	margin-top: 7px;
}
.index-btn .btn-o {
	display: inline-block;
	width: 40%;
}
.index:before {
	z-index: 99;
	background-image: url(../images/yanhua.png);
	background-size: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	content: "";
	display: block;
	width: 100%;
	height: 100px;
}
.index-top,.index-btn {
	text-align: center;
	width: 320px;
	margin: 0 auto;	
	left: 0;
	right: 0;
}
.index-top {
	position: absolute;
	bottom: 20%;
}
.index-top img:first-child {
	margin: 0 auto;
	margin-top: 10%;
}
.index-top img {
	width: 100%;
}
@media(min-height: 646px) {
	.index-top,.index-btn {
		width: 375px;
	}
	.index-top img + img {
		margin-top: 5%;
	}
	.index-top {
		bottom: 22%;
	}
}
.index-btn .btn-g {
	display: inline-block;
	width: 30%;
}
.index-btn .red-btn {
	color: #fff;
	background-color: #e6736c;
	border-radius: 5px;
}
.index-btn .btn + .btn {
	margin-left: 10px;
}
.index-btn .white-btn {
	color: #e6736c;
	background-color: #fff;
	border-radius: 5px;
	width: 75px;
}
.fixedbg {
	background-color: rgba(0,0,0,0.4);
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.resimg {
	width: 100%;
	vertical-align: middle;
}
.rule-alert > img,.gift-alert > img,.share img {
	//width: 110%;
	//margin-left: -5%;
}
.share img {
	//margin-left: -8%;
}
.gift-alert {
	padding-top: 50px;
	padding-bottom: 50px;
	overflow-y: scroll;
	height: 100%;
	overflow-x: hidden;
}
.pocenter {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	display: inline-table;
}
.rule-info,.rank-list {
	position: absolute;
	width: 75%;
	left: 0;
	right: 0;
	margin: auto;
	top: 50%;
	margin-top: -20px;
	height: 35%;
	overflow-y: scroll; 
	color: #df6e1b;
	font-size: 12px;
}
.rank-list {
	width: 260px;
	font-size: 14px;
	margin-top: -156px;
	height: 300px;
}
.rule-info p {
	padding-left: 10px;
	padding-right: 10px;
}
.rule-info p + p {
	padding-top: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 1px dashed #c26d40;
	color: #c26d40;
	padding-left: 0;
	padding-right: 0;
}
.touxiang {
	width: 30px;
	height: 30px;
	display: inline-block;
}
.ranknum {
	display: inline-table;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-image: url(../images/ranknum4.png);
	background-size: 100%;
	background-position: center;
	text-align: center;
	vertical-align: middle;
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
}
.rank-item:first-child .ranknum {
	background-image: url(../images/ranknum1.png);
}
.rank-item:first-child + .rank-item .ranknum  {
	background-image: url(../images/ranknum2.png);
}
.rank-item:first-child +.rank-item +.rank-item .ranknum  {
	background-image: url(../images/ranknum3.png);
}
.rank-alert {
	text-align: center;
	display: block;
}
.rank-alert > img {
	width: 320px;
	margin: 0 auto;
	height: 452px;
	position: absolute;
	top: 50%;
	margin-top: -226px;
	margin-left: -160px;
	left:50%;
}
.rank-item {
	background-image: url(../images/rank-itembg.png);
	background-size: 125%;
	background-position: center;
	background-repeat: no-repeat;
	height: 50px;
	padding: 10px;
}
.rank-item .name {
	width: 100px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: inline-block;
	color: #613a01;
	font-size: 12px;
	position: relative;
	top: 4px;
}
.fenshu {
	color: #fff;
	background-image: url(../images/score.png);
	background-size: 100%;
	width: 55px;
	display: inline-block;
	background-position: center;
	background-repeat: no-repeat;
	font-size: 12px;
	text-align: center;
	padding:4px;
}
.gift-alert .close {
	margin: 0 auto;
	position: relative;
	top: -33px;
}
.gift-alert {
	text-align: center;
}
.rule-alert .close {
	position: absolute;
	bottom: 3%;
	left: 0;
	right: 0;
	margin: 0 auto;
}
.close {
	width: 150px;
	height: 40px;
	display: inline-block;
}
.rank-alert .close {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: 0 auto;
	margin-top: 180px;
	height: 50px;
}
@media(min-height: 647px) {
	.rank-alert > img {
		width: 375px;
		height: 530px;
		margin-left: -182.5px;
		margin-top: -265px;
	}
	.rank-list {
		width: 280px;
		font-size: 14px;
		margin-top: -186px;
		height: 350px;
	}
	.rank-item {
		height: 60px;
		padding-top: 15px;
	}
	.rank-alert .close {
		position: absolute;
		top: 50%;
		height: 50px;
		width: 180px;
		left: 0;
		right: 0;
		margin: 0 auto;
		margin-top: 210px;
	}
}


.opshow {
	-webkit-animation: anopshow .6s ease both;
	animation: anopshow .6s ease both;
}
@-webkit-keyframes anopshow {
	from { opacity: 0 }
	to { opacity: 1 }
}
@keyframes anopshow {
	from { opacity: 0 }
	to {  opacity: 1 }
}
.btn-g + .btn-g {
	margin-left: 50px;
}
@media(max-height: 554px) {
	.index-top {
		width: 280px;
		top: 40px;
		bottom: auto;
	}
}
@media(max-height: 518px) {
	.index-top {
		width: 280px;
		bottom: 24%;
		top: auto;
	}
	.logo {
		width: 30px;
		right: 10px;
		top: 10px;
	}
}